home *** CD-ROM | disk | FTP | other *** search
- Path: noc.netcom.net!news
- From: Tarang Deshpande <tarang@willows.com>
- Newsgroups: comp.lang.c
- Subject: Re: BAD FILE NUMBER
- Date: Thu, 28 Mar 1996 14:01:21 -0800
- Organization: NETCOM Network Operations
- Message-ID: <315B0C31.6DF2@willows.com>
- References: <4j69oc$3pb@news.uni-c.dk>
- NNTP-Posting-Host: daffy.willows.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- X-Mailer: Mozilla 2.0GoldB2 (Win95; I)
-
- peter S°rensen wrote:
- >
- >
- > The functions in the dll is to be used from paradox for windows.
- >
- > if ( ( fp = fopen("somefile","r")) == NULL)
- > ..... give an errormessage
-
- Under windows you can not use fopen instead you have to use lopen or
- OpenFile. Note you also can not use fread or fseek etc.; you have to
- use lread and lseek. I forget but I think the "l" function have a
- preceeding "_"; so it might actually be _lopen.
-